-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First version of SaveBlock3 in debug menu #3
First version of SaveBlock3 in debug menu #3
Conversation
8846d81
to
9ab829e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks psf! I've not tested this yet, but have a few changes based on skimming it :)
include/save.h
Outdated
#define SECTOR_ID_SAVEBLOCK2_START 14 | ||
#define SECTOR_ID_SAVEBLOCK2_END 27 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has slipped in from a backup-save removal commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is me trying to guess what sectors these end in for use in CheckSaveBlock2Size
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! I think CheckSaveBlock2Size
was fine, there's just a single sector dedicated to SaveBlock2
(it's sector 0) :)
Changed value of MaxSb3Size Co-authored-by: Martin Griffin <[email protected]>
* SaveBlock3 in sector footers * Update load_save.c Since mgriffin is currently not available I took the liberty to edit the file. Hope it's fine. * SaveBlock3 in debug menu (#3) --------- Co-authored-by: DizzyEggg <[email protected]> Co-authored-by: Alex <[email protected]> Co-authored-by: psf <[email protected]>
I'm fairly certain this isn't the _right solution, but I figured it's a start. Need to figure out what
maxSb3Size
should be.